<ul class="article-list">
	<% if (article.length) { %>
		<% article.forEach(function(data){ %>
			<li>
				<!--article-img-->
				<a href="/article-details" class="article-img">
					<img src="<%= data.imgSrc %>">
				</a>
				<!--article-info-->
				<div class="article">
					<!--标题-->
					<a class="article-title" href="/article-details?id=<%= data.id %>"><%= data.title%></a>
					<div class="article-info">
						<span class="time">
							<i class="iconfont">&#xe604;</i>
							<%= ejsExtend.getDate(data.releaseTime) %>
						</span>
						<span class="time">
							<i class="iconfont">&#xe605;</i>
							<%= data.author %>
						</span>
						<span class="time">
							<i class="iconfont">&#xe603;</i>javascript
						</span>
					</div>
					<!--简介-->
					<p class="article-ts"><%= data.briefing %></p>
				</div>
			</li>
		<% }) %>
	<% }else{ %>
		<h3 class="prompt"><% if(error){ %><%= error %><% }else{ %>博主还未发布任何文章哦!<% } %></h3>
	<% } %>
</ul>
<!--加载更多按钮-->
<% if (article.length >= 10) { %>
	<a href="javascript:;" class="add-btn">加载更多</a>
<% } %>